﻿using System;
using System.Collections.Generic;
using IDAL.A;
using Model.A;

namespace BLL.A
{
    public class AFYGEPlugin:BaseService<AFYGEPluginInfo>
    {
        /// <summary>
        /// 保留不用
        /// </summary>
        private static readonly IAFYGEPlugin dal = DALFactory.DataAccess.CreateAFYGEPlugin();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public IList<AFYGEPluginInfo> AFYGEPlugin_GetbySN(string sn)
        {
            return dal.AFYGEPlugin_GetbySN(sn);
        }

        public IList<AFYGEPluginInfo> AFYGEPlugin_GetbyDT(DateTime dt1, DateTime dt2)
        {
            return dal.AFYGEPlugin_GetbyDT(dt1, dt2);
        }
    }
}
